package com.soft.web.mapper;

import com.soft.web.pojo.Record;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface RecordMapper {

    List<Record> queryRecordList(int start, int limit);

    List<Record> queryRecordLike(int start, int limit, Record record);

    int queryRecordCount();

    Record queryRecordById(long id);

    int addRecord(Record record);

    int deleteRecordById(long id);

}
